<%@page
	 import="merlin.beans.*,merlin.dao.*,merlin.managers.*,merlin.servlets.*,merlin.utils.*"
	contentType="text/html;charset=windows-1252"
%>

<jsp:useBean id="userDetails" class="merlin.beans.CustomerDetailsBean" scope="session" />

<html>
	<head>
		<meta HTTP-EQUIV="Cache-Control"  CONTENT="no-cache" />
		<meta HTTP-EQUIV="Expires"        CONTENT="1 Jan 1980" />
		<meta HTTP-EQUIV="MaxAge"         CONTENT="0" />
		<meta HTTP-EQUIV="Pragma-Control" CONTENT="no-cache" />

		<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
		<title>Merlin Scott Free Updates Registration</title>
		<script>
		</script>
	</head>
	<body>
		<div align="center">
			<img src="mr_images/headerMain.gif" align="center"/>
		</div>

		<div align='center' style="height:15px;">
			<%
			String err = (String)request.getAttribute("error.login");
			if(err != null){
				out.println("<span align='center' STYLE='FONT: 11px verdana,arial,sans-serif;color:red;font-weight:bold'>" + err + "</span>");
			}
			String msg = (String)request.getAttribute("message");
			if(msg != null){
				out.println("<span align='center' STYLE='FONT: 11px verdana,arial,sans-serif;color:GREEN;;font-weight:bold'>" + msg + "</span>");
			}
			%>
		</div>
		<p>
		</p>
		<form name="frmRegistration" method="post" action="merlin">

			<input type="hidden" name="mode" value="registration">

			<table align="center" width="50%" border="0"> <!-- style="background-color:rgb(146,207,100);font-family:tahoma;" -->
				<tr>
					<td colspan="2" align="center" style='color:white;height:23px;font: 11px verdana,arial, sans-serif ;background:url("mr_images/Long-Bar-green.jpg");' >
						<h4>Merlin Scott Free Updates Registration</h4>
					</td>
				</tr>
				<tr>
					<td colspan="2" style='font:11px verdana,arial,sans-serif;'>
						 <br>&nbsp;To subscribe to the facility, please fill in the following details.<br>&nbsp;
					</td>
				</tr>
				<tr>
					<td width="30%" style='font:11px verdana,arial,sans-serif;'>
						&nbsp;Email ID
					</td>
					<td width="70%" >
      					<input type="text" name="txtEmailAddress" value="<jsp:getProperty name='userDetails' property='emailAddress'/>" style='font:11px verdana,arial,sans-serif;'>
					</td>
				</tr>
				<tr>
					<td width="30%" style='font:11px verdana,arial,sans-serif;'>
						&nbsp;Report
					</td>
					<td width="70%" >
      					<input type="text" name="txtReportTitle" value="<jsp:getProperty name='userDetails' property='reportTitle'/>" style='font:11px verdana,arial,sans-serif;'>
					</td>
				</tr>
				<tr>
					<td width="30%" style='font:11px verdana,arial,sans-serif;'>
						&nbsp;Addn Reports
					</td>
					<td width="70%" >
      					<input type="text" name="txtAddnReports" value="<jsp:getProperty name='userDetails' property='additionalReportNumbers'/>" style='font:11px verdana,arial,sans-serif;'>
					</td>
				</tr>
				<tr>
					<td colspan="2" align="left">
						<input type="submit" name="btnRegister" value="Register" style="margin-right:20px;font: 11px verdana,arial, sans-serif ;">
						<input type="reset" name="btnReset" value="Reset" style="margin-right:20px;font: 11px verdana,arial, sans-serif ;">
					</td>
				</tr>
			</table>
		</form>
		<jsp:include page="mr_footer.jsp"/>
	</body>
</html>